I recently gave a test and had this question there . To be honest I was confused on seeing this question. I was unable to even deduce the approach.
I am a student studying in class 11 so I don't have access to desmos during tests.