how do you put the triangle that makes a power
If you mean ^, it's called a caret and is obtained (on my keyboard at least) by shift_6
.