Solve for y ay+b=cx