Let the number of required ways be r.
Number of ways to select 3 persons without restrictions = 10C3
Number of ways to select three members together = 10
Number of ways to select two members together and one member separately = 10×6C1
Then,
r=10C3−(10+10×6C1)
r=50