I am choosing to make this a ratio problem.
There are 140 giants for every 210 elves (either or in this situation because either 140 giants fit or 210 elves)
Ratios look like this:
140:210 - now we factor both sides - start with 10 since it's easy
14:21 - look for another factor - I see 7
2:3 - this is our ratio of giants to elves
so given 90 giants - what number can be divided by 2/3 to get 90?
(or 90 = 2/3 x)
90 x 3/2 = x which = 270/2 = 135 elves
Check it. 135 x 2/3 = 90. Yes! it checks.