Cut each of the three pills in half and separate them into two piles with half of each pill in each pile. Take another pill A and cut it in half and put one half in each pile. Take one pile of pills today and the next tomorrow.

Here is the perfect solution…

You know that the mixed up pile consists of 2 B pills and 1 A pill…

By evening out the numbers by adding another A pill and dividing the whole pile into two halves you are following prescription direction in the proper amounts.