See the details in the attachment.