Why don't you change fractions into decimals in the equations when you get the values for y and x, do you have to have a fraction or are you allowed to change it into a decimal?
Sonia -Decimals and fractions are allowed. However, some fractions are not so simple to put into decimal without rounding such as 1/7.I would follow the instructions of your teacher with respect to decimal vs fractions.Hope that helps