Real Salt Lake score 2 first-half goals, beat Dynamo