Here is the worked problem.