This question was asked in Example 33
Is there any another method to solve this? 
Jhanvi Gupta's image