Solving for a variable in terms of other variables in a linear equation with fractions