Subtracting the second equation from twice the first equation gives $ab=2a-b$ so that $b=\frac{2a}{a+1}$
Now you've to solve the equation with these