Note that we have the equations

and

If we add this two equations, we get

So, we get b=1.
If we replace this in the first equation, we get

by subtracting 7 on both sides, we get

Finally, if we divide by 4 on both sides, we get

So the solution to the equation is a=b=1