The growth equation is
Where:
a is the initial amount
r is the rate of growth in decimal
Since at the time he put the cupcake, there were 300 bacteria
Then a = 300
Since the bacteria is growing by 25%
r = 25/100 = 0.25
Substitute them in the form of the equation above
Since in 2 weeks, there are 2 x 7 = 14 days
Then x = 14
Substitute x by 14 to find y
Round it to the nearest whole number
The number of bacteria after 2 weeks is 6821