We can draw a perpendicular from the side of the building to the top end of the pipe at (x,y) which creates two right triangles. The bottom right triangle will give us an equation relating dx/dt and dy/dt, while the top triangle gives us an equation relating dx/dt, dy/dt, and dz/dt (where z is the hypotenuse of the top triangle, the distance from the top of the building to the top of the pipe), where dz/dt is known:
Also, at the instant y = 1, x = √143 , and z = √264 (all from pythag thm)
From bottom triangle: x2 + y2 = 144
2x·dx/dt + 2y·dy/dt = 0
dx/dt = - 1/√143 · dy/dt
From top triangle:
x2 + (12 - y)2 = z2
x2 + y2 - 24y + 144 = z2
2x·dx/dt + 2y·dy/dt - 24·dy/dt = 2z·dz/dt
√143·dx/dt - 11·dy/dt = √264·(-.4)
Substituting the expression for dx/dt from above yields ·-12dy/dt = √264·(-.4)
dy/dt = √264·(.4) / 12