extracted the x and y fractions