solve a^2+4ab+b^2=1 for a