Returning correct x and y in extract_numbers.