solved Ex.3.25