I would like to know the method to this question(attached in the image) so that