Modeling the relationship between three quantities (or more) isn't that different from modeling the relationship between two quantities. Here is an example of a model that relates different quantities related to two people walking to the same ice cream shop.
License: CC BY-NC-SA by Khan Academy