original beaming, how?

Here’s a different way from Pianoleo’s answer: make a new notehead set where the notehead looks like a rest. Then hide the stem for that note. You may also need to hide leger lines.

You can have whatever rest duration you want, if you want to reproduce the original exactly.

To get the beaming as in the original, make a hidden 5:4 tuplet of two 16th notes (the second one looking like a rest) and a 32nd.

You will have to mute the “rest” if you are bothered about playback, of course.

You might want to tweak the horizontal spacing to reduce the gap after the rest.

Dorico project attached, if it helps.
Beam over rests.zip (401 KB)
Beam over rests 1.png