Hey there!
To start, when you have exponents with the same base, you can combine the powers. In the case of

, you can combine the two exponents by subtracting the powers from one another while keeping the base the same since you have a fraction.
This should result in this new equation:

=

Because the bases of the two numbers are the same, you can set up this expression to solve for the value of x:
7-x=22
-x=15
x=-15
Therefore, your final answer would be x=-15.
Hope this helps and have a marvelous day!