On a number line , the line segment from Q to S has endpoints Q at 15 and S at 40. Point R partitions the line segment from Q to S in a 6:3 ratio. What is the location of point R?