I would orient the coordinate axes such that the lamp is at the origin and the observer moves along the line from left to right. So, put the observer at the point and then the distance between the observer and the lamp is:

and we have:

Now, we want to find , so differentiate with respect to time , and use the given: