Add homewrok answer for 5-2,5-3