two pipes with lengths of 42 inches and 54 inches respectively are to be cut in pieces of equal lengths. what is the greatest possible length of these pieces so that no part of either pipe is left over in inches