(1). Assuming that the equation is (3x+1)/4y = z
3x + 1 = 4yz
3x = 4yz - 1
x = (4yz - 1)/3
--------------------------------------------------------------------------
(2). Assuming that the equation is (y2 - y1)/(x2 - x1) = m
m(x2 - x1) = y2 - y1
mx2 - mx1 = y2 - y1
-mx1 = y2 - y1 - mx2
x1 = (mx2 + y1 - y2)/m