Students’ reasoning about relationships between variables in a real-world problem