Find the difference between the lengths of the longest and shortest sides of a rectangle if its area is 924 square milimetres and its perimeter is 122 milimetres.