In the first choice, the teacher can select a boy among 7 boys in 7 ways.
In the second choice, the teacher can select a girl among 3 girl in 3 ways.
Hence, the teacher can select a solo dancer who is a boy or a girl in 10 different ways (7 boys + 3 girls).