you are right... the speed of the beetle is not constant with time.

to find the time at which the speed is max and min you need to find the speed as a function of time first.

to do this let

denote speed of the beetle at time

.

then [s(t)]^2= (dx/dt)^2 + (dy/dt)^2

this will give you speed as a function of time. differentiate the expression of speed w.r.t time and set it equal to zero. you will get the times at which the speed reaches maximum and minimum.

"please 'thank' me by clicking at the bottom left of my posts if you find this useful."