Is is possible to convert this graph into an function of t(time), if what are the appropriate steps to do this? Any help point in the general direction will be greatly appreciated! Thanks in advance.

EDIT: Sorry about not being clear in the question, in the end a function q(t) that represents the graph is what I'm looking for! Thanks again
$$q(t) = \cases{7.5t & \text{ , if } 0 \le t \le 2\\ 15 & \text{ , if } 2 < t < 4 \\ 15-5(t-4) &\text{ , if } 4 \le t \le 7 \\ 0 &\text{ , otherwise}}$$
You get this by considering the intervals $(-\infty, 0), [0,2], (2,4), [4,7]$ and $(7,\infty)$ individually.