Substitute y from the second equation into the first one. You will get = , or = . The roots are x = 6 and x = 1. It means that the pairs (x,y) = (6,5) and (x,y) = (1,0) are the solutions of your original system.