how to calculate x^4=

It's important to remember than any number raised by an exponent (in this specific case, the variable x is being raised to the fourth) is the same thing as saying take this number (x) and multiply it by itself (n) times, where (n) is the exponent (again, 4 in this case).