Solve for x: 
 2^x+6=3*2^x-26

2^x + 6 = 3 * 2^x - 26
32 = 2 * 2^x
16 = 2^x

Therefore, x=4.
Complete the following task based on the instruction and optional input provided.### Instruction:
Solve for x: 
 2^x+6=3*2^x-26


### Output:
2^x + 6 = 3 * 2^x - 26
32 = 2 * 2^x
16 = 2^x

Therefore, x=4.