Knitting a k2p2 ribbed scarf in two colors. Need help with color changes!

The ends should be woven in over the same color. I think I’m still not getting it. Do you have a picture.