How do you convert a number from octal representation to hexadecimal? Walk through the mathematical steps.