Direct Variation Equation Solver