Four people wearing backpacks walking in a line along a mountain trail.
Four people are walking along a mountain trail.
Answer: Wearing backpacks implies that they are walking a mountain trail.
"Four people are walking along a mountain trail" is a rephrasing of "walking in a line along a mountain trail".
People walking in a line along a trail are walking along the trail.