In the modern notation it can be written both by joining with a G the group of notes and marking it with the number 6 and graphically highlighting its internal subdivision into three sub-groups of three notes, according to the accenting desired.
Here are some examples:
