The major arpeggio (the broken major chord) is formed when you stack intervals on top of one another. The Root to 3 is a major third (C-E), 3 to 5 is a minor third (E-G), 5 back to Root is a perfect fourth (G-C).
Learn how each interval appears on the fretboard and it's possible to form the arpeggio in a number of different ways.
To study this in detail, check out my ebook 'Arpeggios: Building Blocks':
https://shop.rynaylorguitar.com/
https://www.rynaylorguitar.com/