This question was asked in Example 18
Check example 18class 12  chapter 1
symmetric and reflexive function 
Shubhneet Kaur's image