30 pens and 75 pencils were purchased for 750 . if the average price of a pencil was 2.00 , find the average price of a pen .
n0 = 30.0
n1 = 75.0
n2 = 750.0
n3 = 2.0
t0 = n1 * n3
t1 = n2 - t0
answer = t1 / n0
print(answer)