contestada

I kinda forgot how to do this so pleaseeeeeeeeee help meeeeeeeee!!!
∠A and ∠B are acute angles of a right triangle. If sin A = x + 2 and cos B = 2x – 5, determine the value of x.