PersonX cooks the pasta
to go to grocery store to buy pasta to boil the water to make the sauce to buy box of pasta to fill a pot with water (and pinch of salt) to place pot of water on stove top and turn burner on.