Question 332243
A = 1/2 times base times height

Let A = 21

Let h = height = (x - 5)

Let b = base = x

21 = 1/2 times x times (x - 5)

I gave you the equation.  Can you finish now?