Simple (or not quite), but definitely elegant solutions.

 

v20221217