How do you solve a) and b)

Ray and Simon are using two different training programs to prepare for the rottnest marathon.

Ray runs every day. In the first week he runs 5km each day and then increases this distance by 2km each week thereafter.

Simon also runs every day. In the first week he runs 10 km and then increases this by 10% each week there after.

a) How long does it take for simon to run at least the marathon distance of 42.km?

b) How far would Rayy be running after 15 weeks of traning:

(SOLVED)

I know that b) it was a arithmetic sequence and a) involves a geometric sequence. I dont know how to solve a).

Thank you