STEP 1: Learn these 5 pattern shapes, then we'll put them in the correct order and placement. All these examples are in the key of A.
1st Pattern

|------------------------------[5]-8-[5]-------------------------------|
|-------------------------5--8-----------8--5--------------------------|
|-------------------5--7-----------------------7--5--------------------|
|-------------5-[7]---------------------------------[7]-5--------------|
|-------5--7-----------------------------------------------7--5--------|
|[5]-8-----------------------------------------------------------7-[5]-|
--[5]- denotes the Root Note!

2nd Pattern

|-----------------------------------8--10--8------------------------------------|
|----------------------------8-[10]----------[10]-8-----------------------------|
|----------------------7--9--------------------------9--7-----------------------|
|--------------[7]-10--------------------------------------10-[7]---------------|
|--------7--10----------------------------------------------------10--7---------|
|-8--10------------------------------------------------------------------10--8--|

3rd Pattern

|----------------------------------------10--12----10-------------------------------------|
|-------------------------------[10]-13----------------13-[10]----------------------------|
|-------------------------9--12--------------------------------12--9----------------------|
|-----------------10--12----------------------------------------------12--10--------------|
|---------10-[12]------------------------------------------------------------[12]-10------|
|-10--12----------------------------------------------------------------------------12--10|

4th Pattern

|-----------------------------------------12--15--
|---------------------------------13--15----------
|-------------------------12-[14]-----------------
|-----------------12--14--------------------------
|--------[12]-15----------------------------------
|-12--15------------------------------------------
--12------------------------------------------|
------15--13----------------------------------|
-------------[14]-12--------------------------|
----------------------14--12------------------|
------------------------------15-[12]---------|
--------------------------------------15--12--|

5th Pattern

|-----------------------------------------15-[17]-
|---------------------------------15--17----------
|------------------------[14]-17------------------
|-----------------14--17--------------------------
|---------15--17----------------------------------
|-15-[17]-----------------------------------------
--15------------------------------------------|
------17--15----------------------------------|
--------------17-[14]-------------------------|
----------------------17--14------------------|
------------------------------17--15----------|
-------------------------------------[17]-15--|

Have A Play
Learn the 1st minor pentatonic scale in the key of E...

Then play up and down the scale in time with the music. The backing has a swing feel to it, so you will also put a swing feel to the scale.
1st Pentatonic Scale in the key of "E"
Play this in time with the backing track!
12 Bar Blues in E Backing Track
|-----------------------|------0---3-0----------|-----------------------|--
|-----------------------|0---3-----------3-0----|-----------------------|--
|------------------0---2|----------------------2|0----------------------|--
|------------0---2------|-----------------------|----2-0----------------|--
|------0---2------------|-----------------------|----------2-0-----0----|--
|0---3------------------|-----------------------|----------------3-----3|0-
-COUNT-
|1 & 2 & 3 & 4 &|1 & 2 & 3 & 4 &|1 & 2 & 3 & 4 &|1