since the parabola has its vertex on the origin, it is in the form x² = 4ay ---- (I)
differentiating,
2x = 4ay'
x = 2ay'
y' = x/2a
now that line, x-y+3=0
y=x+3 ------------- (II)
i.e. y' at the point of contact is 1.
let the point of contact be P (x1, y1)
at P(x1,y1), y' = 1
therefore, x1/2a = 1
therefore, x1 = 2a. ---------- (III)
for intersection P, solving (I) and (II)
x² = 4a(x+3)
at P, x = x1
x1² = 4a(x1+3)
also, x1 = 2a (from III)
so 4a² = 4a(2a + 3)
4a² = 8a² + 12a
a² = 2a² + 3a
a² + 3a = 0
a(a+3) = 0
clearly, a = -3.
therefore, the eqn of the parabola is x² = -12y
woot pretty long proof for a simplish question.