Let
HA(m) = the height of species A as a function of months m
HB(m) = the height of species B as a function of months m
Assuming that the growth rate of the plants is a linear relationship all throughout the growth stages, we have:
HA(m) = 25 + 3m
and
HB(m) = 10 + 8m