a segment is divided into two parts having lengths in the ratio of 5:3. if the difference between the lengths of the parts is 6 " find the length of the longest part