Input: b(5px-3c) = a(qx-4)
Intepretation: Solve for \(x\) in \(\)\(b(5px+3c) = a(qx-4)\)
Expand:
\(5bpx-3bc=aqx-4a\)
Move the \(x\) terms to the right, integer ones to the left:
\(5bpx-aqx=3bc-4a\)
Pull the x out from the left term:
\((5bp-aq)x=3bc-4a\)
Divide both sides by \(5bp-aq\):
\(x=\frac{3bc-4a}{5bp-aq}\)
Done :D