make x the subject of formula in √(x+a)=b

√(x+a)=b

square both sides
x+a = b^2
x = b^2 - a , a ≥ -x