To find the answer to question 1, we can go step by step and calculate the positions of each friend in the line.
First, we know that Rayma is the 20th person behind Laura, so we can calculate Rayma's position:
Rayma's position = Laura's position - 20
Next, we know that Deanna is the 50th person ahead of Rayma, so we can calculate Deanna's position:
Deanna's position = Rayma's position - 50
Similarly, Charlotte is the 10th person behind Deanna:
Charlotte's position = Deanna's position - 10
Shelly is the 30th person ahead of Laura:
Shelly's position = Laura's position + 30
Finally, Charlotte is the 50th person behind Shelly:
Charlotte's position = Shelly's position - 50
Now, we need to find the first friend in line. We have calculated the positions of all the friends, so we can compare their positions. The friend with the smallest position will be the first in line.
Comparing the positions:
Laura < Rayma < Deanna < Charlotte < Shelly
Therefore, the first friend in line is Laura.
For question 2, if there are 50 students in front of the friend closest to the front and 50 people behind the friend closest to the back of the line, we can calculate the total number of people in line by adding these two numbers and including the friend closest to the front and the friend closest to the back of the line.
Total number of people in line = 50 (in front) + 50 (behind) + 1 (friend closest to the front) + 1 (friend closest to the back)
Total number of people in line = 102
So, there are 102 people in line.