I've got brain-freeze on a theory question from a grade 4 past paper (2006, paper B, Q6).
It involves re-writing a melody from 3/4 using notes/rests of half the value. I'm stuck trying to put a bar which consists of - a dotted quaver, a semiquaver, a dotted crotchet + a quaver in 3/4 time into 3/8. I make it - a dotted semiquaver, a demisemiquaver, a dotted quaver and a semiquaver in 3/8 time. I think this is right

but my question, really, is how do I beam these notes together? I thought maybe I should beam the dotted semiquaver and demisemiquaver together as two notes and then beam the dotted quaver and semiquaver together as another pair of notes.... is this correct? I'm confused about how to make each new beat clear in 3/8 time.