You would just plug it in and solve for w.
p = 3w + d
50 = 3w + 14 -subtract the 14 from both sides
36 = 3w - divide both sides by 3
12 = w
There were 12 wins. If they played 35 games, 12 were won and 14 were draw, you just subtract them from 35 and you get 9. The team lost 9 games.