Hanger Diagrams for Solving Equations

How can I create hanger diagrams with self checking for math 8 linear equariton solving

You may find some useful information in this page for the polypad balance scales. I see some linear equations in there.