The correct answer is nine full bottles, and nine additional pills.
To calculate this, you should work in two steps:
First, calculate the total amount of pills the patient needs, similar to the calculation you did on the first two questions in this test:
Amount of Dispensed Pills = No. of pills taken every time X No. of times a day X Day's Supply needed
Amount of Dispensed pills = 2 X 3 X 27 = 162
Second, to calculate the number of full bottles and additional pills, you should divide the result by the number of pills per bottle.
No. of bottles = (Amount of Dispensed pills)/(Pills per bottle)= 162/17 = 9.529
This means that you will have nine full bottles. To find the number of additional pills, multiply the number after the decimal by the number of pills per bottle:
Additional pills=0.529 X 17=9