Description tells you that the half-life is 4 hours.
Without creating a function,
TIME(hours) miligrams
0 200
4 100
8 50
12 25
40 milligrams would remain and new dose needed some time between 8 and 12 hours. Probably near about 9 hours.
Starting through this would help get a more accurate result:
Let y=40, take logs of both sides to solve for t: