8^{X^2 + 1} = 4^{1-x}

so I did this with a base of 2... do I multiply the first part by 3 or add the 3... and the same on the other side... do I multiply the exponent by 2 or add the 2... I know the answer is \frac{-1}{8} either way I end up with an equation I can't seem to solve.