Draw a figure with a right triangle with vertical leg divided into 2 lengths y(on the bottom) and 10-y on the top.
The horizontal leg ix and the and the ladder makes with the ground is θ.
y = x tan θ and x2 + y2 = 100
Differentiate both of the equations with respect to t, then you will have the information you need to calculate dθ/dt.