How do you invert an ECDSA multiplication to get the generator?
k is just a scalar, modulo the order of the elliptic curve group.

Q = k*P


thus:

(1/k)*Q = (1/k)*k*P


thus:

(1/k)*Q = P


You find P by multiplying Q with the multiplication inverse of k modulo the curve order.