Answer: The conclusion is valid by the law of syllogism
The law of syllogism follows the basic form:
If P, then Q
If Q, then R
Therefore, if P then R
We can write it like this
We can think of it like starting at town P, moving to Q, then to R. Or we could go from P directly to R if we aren't worried about the town in the middle (town Q).