For this case we have the following expression:

Rewriting the expression we have:

Where,
x: exponent to which we must raise the expression to obtain 7 as a result.
We have then:

The exponent must be equal to 1:

Clearing x we have:

Substituting valres:
Answer:
you must raise the expression to 2