Solving Ordered Pair Functions