Solution for Question#5 complete.