Explanation:
Hey there!
Given;
We know that (1/2) can be written as 2^-1. So, it will be;
Looking on both sides we find that both have same base. So,
x = -1
(Note: While solving the exponential equation you must make base same by simplifying them and then equate the power)
Hope it helps...