Below is an instruction that describes a task. Write a response that appropriately completes the request in Swahili. Please answer in Swahili.

### Instruction:
Layla is training for a bicycle race. She rode her bicycle slowly to the high school, rode four miles around the running track at her faster, race pace, and then rode back home, slowly, on the same route. If her total mileage was 10 miles, how far is it, in miles, from Layla's house to the high school?

### Response:
 Piga umbali kutoka nyumbani kwa Layla hadi shule ya upili "x."
Layla alizunguka maili 4 kwenye uwanja wa mbio wa shule ya upili, hivyo safari yake ya kwenda na kurudi itakuwa maili 2x + 4.
Alisafiri maili 10, hivyo 2x + 4 = 10.
Kwa kutoa 4 kwa pande zote mbili inatoa 2x = 6
Kwa kugawanya pande zote mbili inatoa x = <<3=3>>3