This question was asked in Example 2

Is there any another method to solve this

Lavish Jain's image