For the 4 riff stages you need to blast a brief E powerchord at the bottom then whizz up to the 5/7 slide and play area. Do the slide with your 3rd finger, I'll leave the rest to you.
VERSE (palm mute)
E [---------------------------------------------------
B [---------------------------------------------------
G [----------------------------------------------7----
D [------------------------------------------X-X-7----
A [--7-----7-----7-----7-----7-----7-----7---X-X-5----
E [--0-----0-----0-----0-----0-----0-----0---X-X------
RIFFS
E [---------------------------------------------------
B [---------------------------------------------------
G [---------------------------------------------------
D [-------5/7----5--4---------------------------------
A [--2-----------------5--5-----4-----------5---------
E [--0-----------------------------5--------3---------
E [---------------------------------------------------
B [---------------------------------------------------
G [-----------------------5/7---6---------------------
D [-------5/7----5--4--------------7------------------
A [--2-----------------5--------------------5---------
E [--0--------------------------------------3---------
E [---------------------------------------------------
B [---------------------------------------------------
G [---------------------------------------------------
D [-------5/7----5--4---------------------------------
A [--2-----------------5--5-----4-----------5---------
E [--0-----------------------------5--------3---------
E [---------------------------------------------------
B [---------------------------------------------------
G [---------------------------------------------------
D [-------5/7----5--4--0--7-----9-----7--9------------
A [--2--------------------5-----7-----5--7------------
E [--0------------------------------------------------
PS: You have been playing with a scale called the 'Dorian Mode'.