W^B = W×W×W×W... (#B times)
Something along those lines.
1
Move everything to the left by subtracting 25 from both sides:

Both terms are squares:
is the square of
, while 25 is the square of 5. So, we can apply the factoring

To factor the expression as

A multiplication is zero if and only if one of the factors is zero, so we have

2
The discriminant of the quadratic expression
is defined as

So, you have

3
Similarly, we have

Let smaller number be x/2 and the larger number x.
x/2 + x = 81
x/2 + x = 3x/2
3x/2 = 81
3x = 162
x= 54
The smaller number is 54/2= 27 and the larger number is 54.