Red line from valve cover goes to the connection closest to the fill cap.
Blue line from the air intake goes to the connection closest to the dip stick.