With the meaning of doubt
1/7x+ 1/5x = 120
12/35 x= 120
x=350
Answer: There are 350 books for math contest in the library.
I hope I can help you.