Okay, here we have this:
Considering the provided information, we obtain the following system:
Now, let's clear x in the first equation:
Let's replace in the second equation:
Solving for y:
Then, x:
Finally we obtain that each encyclopedia measures 1.5 inches and each dictionary 2.5 inches.