Fraction Bar Tool Help request

I need some help to make this…
I want to create an equivalent fraction bar Tool.
•It would have two fractions bars (horizontally) above each other.
•Each would have sliders to adjust the numerator & denominator of each independently. The denominator would have a max of 12 (same for numerator).
•It would also show the fraction form of the bar as n/d (but vertical)
•Also, to finish. I’d like a vertical dashed line that’s moveable- to see the equivalent fractions.
Here’s a picture of what I’m dreaming of:

Here’s what I’ve got so far.

Thank you in advance for any help with this!

I made an optional vertical dashed line folder, but tried to duplicate the picture above.

Fraction Bars Tool