Let's break down the expression step by step.
1. For x ≤ -5:
In this case, both x - 5 and x + 5 are negative, so their absolute values become positive. Therefore, y = |x - 5| + |x + 5| simplifies to y = -(x - 5) + -(x + 5), which further simplifies to y = -2x + 10.
2. For -5