To find the rate \( r \), we can use the formula:
\[ r = \frac{d}{t} \]
where:
- \( d \) is the distance (4 kilometers),
- \( t \) is the time in minutes (50 minutes).
Now, we can calculate the rate:
\[ r = \frac{4 \text{ km}}{50 \text{ min}} = 0.08 \text{ km/min} \]
Therefore, Sam's walking rate is 0.08 kilometers per minute.