Very similar to all the other solutions posted above.
Trickier than I expected.
(EDIT: looking at all the elegant two tool solutions I clearly made this more complicated than I needed to..!)
(EDIT 2: leaving this here for posterity... what was I thinking? 😂)
Here's my solution.