TriangleABChas side lengthsa,bandc. If these lengths satisfya^2=a+2b+2cand −3=a+2b−2c, what is the measure (in degrees) of the largest angle?

I applied a bit of cosine rule and sine rule, but all it gave was nasty equations in angles of the triangle.