Hi I think the solution to 7.5 does show the entire computation. Which part is not clear? Hint: Recall E[Exponential RV] & E[Poisson RV] from the notes and re-look at the solution!
In the question it states, that given K = k, X follows a Poisson(k) distribution. Mean of a Poisson rv is equal to its parameter value. So, E[X| K = k] = k