The question is: When we're both stock values the same? Then all you have to do is match both equations and solve for x, like this
Factoring the trinomial you get
Which implies that
Therefore, since x corresponds to the number of months, then the values of the two shares were equal at 3 and at 6 months.