Mark completes 14 projects at school per week for w weeks in a row. Each week, his best friend Mary completes half as many projects as Mark completes. Together, they complete 126 projects. Which of the following is the number of weeks it took Mark and Mary to complete 126 projects?