I explained the solution to the second problem and provided answers