Yes, that's right. Thats the kinetic energy due to rotation for the principal moments of inertia. If you consider other axis of rotations but the principals, then that expression wouldn't be valid, think that the moment of inertia is a second order tensor, and has 9 components, not three. When you compute the rotational kinetic energy with respect to other moment of inertia but the principal, the expression for the rotational kinetic energy becomes quiet cumbersome. It is reduced to that simple expression when you compute it for the principal axes of inertia, the inertia tensor is diagonal in the principal axes. I think the exercise doesn't asks you to prove that formula, just to demonstrate that the kinetic energy reduces to formula (4), you just have to replace in the formula for the kinetic energy the given values for ##\omega_i##. If what you want is to proove that the kinetic energy is given by that formula, you could instead of taking a continuous body, start by thinking of a discrete (rigid) distribution of puntual masses and add the kinetic energy of rotation for all of them. And then get the expressions for the continuum. Then it will appear the expression for the moment of inertia naturally. But that formula is only valid when the moment of inertia is taken with respect to the principal axes of inertia.