For doc A Take three drugs Drug A - cost 20/tab Prescribed 10 tabs for three times a month. Earning = 20x10x3=600 Drug B COST 10/tab Prescribed 20 tabs for five times Earnings = 10x20x5=1000 Drug C COST 25/TAB Prescribed 10 tabs for two times Earnings=25x10x2=500