Click on "set x", type the value, then click "set y" and type the value. Then you can click calculate and you will get the answer.
Negative numbers don't work. The reason why I made this is because scratch doesn't have an "x^y" block.