Time and distance are variables.My question is related totime & distance. Not about variables like we see in algebra.

Algebra is the set of rules and techniques we use for solving complex problems like this. It doesn't matter if you're using "s" and "c" or "relative speed" and "current speed." It's still algebra.