question: Jan has three times the number of pets as Marcia. Marcia has two more pets than Cindy. If Cindy has four pets, how many total pets do the three have?
answer: Marcia has 4 + 2 = <<4+2=6>>6 pets.
  Jan has 3 * 6 = <<3*6=18>>18 pets
  In total, the three have 4 + 6 + 18 = <<4+6+18=28>>28 pets.
  #### 28