add problem 7.4
add solution of problem 7.4