Solution:
we are given that
Sarah has run 108 miles over the last 15 days while preparing for an upcoming marathon. She ran either 6 miles a day or 8 miles a day.
we have been asked to find
During the 15 day period, how many days did Sarah run an 8 mile day?
Let she ran 8 miles for x days, it mean she ran 6 miles one each of the (15-x) days. Then we can write

Sarah run an 8 mile day for 9 days.