Worked Solution: