Answer:
6 clocks
Explanation;
If the ratio of clock to lamps in a library is 2:5, then the total ratio is given as;
Total ratio = 2+5
Total ratio = 7
Let the total clocks and lamps in the library be "x". If there are 15 lamps, then the total clocks and lamp is determined using the expression below;

Cross multiply

Hence there are 21 clocks and lamps in the library.
Determine the total clocks there

This shows that there are 6 clocks there