Answer:
Suppose that P(t) describes the position of Matt over time
Let's define the edge of the pool as our zero in the position axis.
At the beginning, Matt was 3 ft away from the edge, so we have:
P(0s) = 3ft
He walked away for 4 seconds, then he was 12 ft away from the edge.
Then at t = 4s his position was:
P(4s) = 12ft.
So we have two points, (0s, 3ft) and (4s, 12ft).
The graph that describes this situation will be the line that connects those two points.
An example is shown below.