The solution to the given problem is as follows:
*****