Ok, what I want to do is create a program that will solve my equations for me. I have looked on some information, but nothing was helping me. I made one that will let me input my own 'x' and 'y' s and it tells me if its right or not.. but I want it to solve it on its own like for example ...

2x = y + 1
2x - y = 5

Could someone please help me?