How do you tell which is the dependent variable and which is the independent variable? And why?

Here’s the problem:
Nick is 5 years older than his brother, Sal. Nick’s age is y. Sal’s age is X. Describe the variables as either dependent or independent and why.

Popular: 5 Tips on How To Make Your Study More Effective Top 5 Amazing Facts about Spanish Top 5 Amazing Facts about Russian Language Top 5 Tips on How to Study English Effectively Top 5 Amazing Facts You Probably Didn’t Know about Language and Linguistics