Two Variable Function Solverson Matthew