For problem 03.043.d, the energy of a given signal can be calculated by taking the integral of the square of the signal over the entire duration of the signal.
For problem 03.044.b.2, the average power of a given signal can be calculated by taking the integral of the square of the signal over the entire duration of the signal and dividing it by the duration of the signal.