This question was asked in Misc 10
I beleive that your solution of q10 of Miscellaneous excerise of Chapter 8 of Class 12 maths is incorrect. 
Dhwani Shah's image