21 to x and 7 to 10

a.24
b.30
c.40

See the other posts.