Part - A

Part - B