the underlying formula that you want to use here for continuous compounding interest is
A = P*e^(rt)
for this scenario that means taking
6000 = P*e^(0.03*15)
P = 6000 / e^(0.45)
P = 3825.77
meaning that the required deposit in this scenario is $3,825.77