Hello I am helping my son with independent variable and dependent

It is given that,
As a plane descends, the more time that passes, the lower the plane's altitude is.
So,
Here, x be the time and y the altitude of the plane.
According to the statement, x be the dependent variable and y be the independent variable.
So, the graph is,