First, we need to determine how much ribbon Sofia needs for each party favor. Since she needs 8 inches of ribbon for one party favor, we can convert that to centimeters (since the answer choices are given in centimeters):
8 inches x 2.54 cm/inch = 20.32 cm
So Sofia needs 20.32 cm of ribbon for each party favor.
To find out how much ribbon she needs for 15 to 20 party favors, we can multiply the amount needed for one party favor (20.32 cm) by the number of party favors:
15 party favors x 20.32 cm/party favor = 304.8 cm
20 party favors x 20.32 cm/party favor = 406.4 cm
The closest answer choice to this range is C, 405 centimeters. Therefore, C is the correct answer.