In a skewer you attack the more valuable piece, which when it moves exposes the piece behind it to attack.
In an x-ray you are attacking a piece through an opponents piece.
e.g.
Skewer:
X-Ray
The bishop is attacked twice - the white queen is performing an x-ray attack through the black queen.
plzz help