To calculate the triangle's area, simply press the down arrow key, and to calculate the square's area, simply press the arrow up and follow the instructions, as in the case of calculating the triangle's area. Have fun at work!