It is clearly mentioned in the question that each bottle of ibuprofen has 1000 pills.
Now, 1/4 bottle of ibuprofen is used to make the prescription.
So, if one bottle of ibuprofen has 1000 pills and 1/4 1/4 bottle of ibuprofen is used to make the prescription, then Jerome obviously used pills of ibuprofen to make the prescription.
so it depends which rectangle came first. if it started as large and was dilated to the smaller one, then the ratio is (.5/2.5) which simplifies to 1/5 or 0.2.