solution of Tutorial Session No. 1