e
g 6 - middle finger
b 7 - last finger
d x - ring finger(play x as 7 but mute with ring finger. u can also not mute it, it wont make a big diff)
a 5 - index finger
E
transpose your '5' on the A string to 0 on the D string
Hmmm okay seriously saying (that is if you really need the percussive sound of X) do it similar to the way you do barre chords, like oneo f the above users said. Another way is to use 1 of your fingers to silent the string.