This problem's solution has been widely debated for its validity. Though it gives the correct answer, many argue that it is invalid. Please give comments on why this method works and if it is valid or not. If possible, please provide your own solution. The problem is in the attachment.