While measuring the length of a knitting needle, the reading of the scale at one end is 5cm and at the other end is 40cm. what is the length of the needle?​