Mr. and Mrs. Gates walked a total of 18 laps around the walking track at the park. Mr. Gates walked three times as far as Mrs. Gates. How many laps did each of them walk?

mrs. Gates walked x laps

Mr. Gates walked 3x laps

x + 3x = 18

etc