Determine if the ordered pair is a solution 2