If Mrs. X is selected among the ladies in the committee, then Mr. Y is not selected or if Mrs. X is not selected then Mr. Y can be there in the committee...
So, required number of ways
= 8C3 x 6C4 + 7C3 x 7C4
= [(8 x 7 x 6)/(3 x 2)] x [(6 x 5)/(2 x 1)] + [(7 x 6 x 5)/(3 x 2)] x [(7 x 6 x 5)/(3 x 2)]
= 840 + 1225
= 2065