Solution:
The population of cockroaches grows exponentially. 2 months ago there were 3 cockroaches, now there are 18.
As this is exponential growth, it can be modeled with the following formula:

Applying the laws of exponents, this is equivalent to:

where y(t) is the number of cockroaches at time t, a is the initial population. In this case, we want to find k.
Now, we know a=3, t=2, and right now y(2)=18:

this is equivalent to:

Take the natural logarithm of both sides:

this is equivalent to:

solving for k, we get:

Therefore, we have created a real-life problem that uses the laws of exponents.