A school cafeteria sold 1,280 slices of pizza the first week, 640 the second week, and 320 the third week. If this pattern continues, in what week will the cafeteria sell 40 slices? Explain how you got your answer.