problem 2 g done
problem 2 h done
problem 2 done