The Ratio of the length of Sam's string to that of Ryan's string is 2 : 7. If Ryan's string is 42 inches long, how long is Sam's string