have you tried to graph that on a calculator or something.

The second one is a straight line

the intercepts for the second equation is y is 7 and x is 10. I just graphed this into my calculator so it is right and the other equation is crazy I am still trying to work it out.