A pole of height 50 units has broken into two pieces, and the top of the pole is now at a point that is 25 units from the base of the pole. Find the difference between the lengths of the two pieces.