how to get the linear equation with a variable in the denominator ?