If [tex]A(t)[/tex] is the amount of oil in the well (let's say in millions of barrels) at time [tex]t[tex] (years), then
[tex]\dfrac{\mathrm dA}{\mathrm dt}=kA[/tex]
for some negative value of [tex]k[/tex]. You're told that the well started off with 3 million barrels, so [tex]A(0)=3[/tex], and that after 6 years, there are 1.5 million barrels, so [tex]A(6)=1.5[/tex].
Solve the differential equation above:
[tex]\dfrac{\mathrm dA}{\mathrm dt}=kA\implies\dfrac{\mathrm dA}A=k\,\mathrm dt[/tex]
Integrate both sides.
[tex]\displaystyle\int\frac{\mathrm dA}A=k\int\mathrm dt[/tex]
[tex]\ln|A|=kt+C[/tex]
[tex]A=e^{kt+C}[/tex]
[tex]A=Ce^{kt}[/tex]
Given that [tex]A(0)=3[/tex] and [tex]A(6)=1.5[/tex], you have
[tex]\begin{cases}3=Ce^{0k}\\1.5=Ce^{6k}\end{cases}\implies C=3,\,k=-\dfrac{\ln2}6[/tex]
So the amount of oil in the well is given by the function
[tex]A(t)=3e^{-\frac{\ln2}6t}=3\times2^{-t/6}[/tex]