Math answer doesn't make sense?

the question is: 
A millipede has 14 more legs than a caterpillar. Together they have 46 legs. How many legs does a caterpillar have? 
the answer the textbook gives is 16 but I don't understand how they came to that conclusion. am I just dumb?
10 answers 10