<human>:  Selena and Josh were running in a race. Together they ran 36 miles. Josh ran half of the distance that Selena ran. How many miles did Selena run?
<bot>: Define a variable ** Let J = Josh's distance
How far did Selena run? ** 2J = Selena's distance
Write an equation ** J + 2J = 36
Combine like terms ** 3J = <<36=36>>36 miles
Divide by 3 ** J = <<12=12>>12
How many miles did Selena run? ** 2J = <<24=24>>24 miles
How many miles did Selena run? ** Selena ran 24 miles.
#### 24