Two Variable Function Solver For X