Solve this question step by step

Example

Example