the underlying formula that you want to use here is the simple interest formula
A = P(1 + RT)
for the information given in the question we have
1300 = P(1 + 0.06 x 8/12)
P = 1300 / (1 + 0.04)
=1300 / (1.04)
=1250
meaning that Peter's initial deposit was $1250