Below are pictured 5 coins (represented by X and O). Your job is to get the 3 X's together and the 2 O's together by sliding the coins. You must slide two coins at a time, an X and an O. They must move together as a unit. You cannot move them further apart or closer together, and you cannot turn them around, that is turn XO into OX or OX into XO. You also cannot spread the 3 remaining coins apart or push them closer together. The coins must end up in a straight line with no gaps.
It can be done in just 3 moves. Can you find them?

X O X O X