It helps to write down what the variables stand for. It looks (from your comment) that $v$ is the speed of the first runner and $t$ is the time they meet, measured from the time the first started. Then your equation $(v+2)(t+1/2)=30$ is incorrect, as the second runner has been running for time $t-1/2$.