To solve the system of equations:

we first notice that both the x coefficients are equal, then we subtract the second equation from the first one to get an equation that only has y as a variable and we solve the resulting equation:

Once we know the value of y we plug it in the first equation and solve for x:

Therefore, the solution of the system of equations is x=5 and y=16