You can write double education and major directly at the beginning of your resume. The following experience is written separately. If the date is the same as the school education, just write one directly. If not, write separately. The following professional and academic levels need to be written separately.
Xx year x month -XXX year x month XXX university XXX major-undergraduate /YYY major-undergraduate.
or
XXXXXx year x month -XXXX year x month XXXX university XXX major-undergraduate course
YYY YYY YYY YYY YYY YYY University YYY Major-Undergraduate