The note the teacher gave you (Bb, Db, Eb, E, F, and Ab) are the 1, b3, 4, b5, 5, and b7 of the Bb scale. That makes it the minor blues scale, not the pentatonic minor. The pentatonic minor does NOT contain the E natural (or more correctly, the Fb- it's the b5). But the point is that it's the basic structure for soloing over 12 bar blues changes, and there's a world of music created around that combination.
BUT, walking bass under the solo is a different story. Your job as bass player is to define the harmony, so that means KNOWING the harmony. That's knowing what the chord is (both its construction and its function), and telegraphing to everyone what the next chord will be, and how the chords relate to each other.
So you have to own where all the notes are of each of the three chords. I assume you do know how to figure out the notes of the chords- they're all 7th chords so it 1, 3, 5, b7 of the diatonic major scale of the root of the chord. e.g. the F7 is F A C Eb. If you don't know how to figure that out (just memorizing the notes isn't enough- you have to know why) then start there. Get that together for all three chords.
Then you have to know where those notes are on the neck. Not just starting at the root, but be able to know know if your hand is at the first fret, where EVERY note in the Bb7 chord is from the low F to the Bb on the G string.
Then a basic start to walking is this, looking at each of the four beats. It's like shooting pool, you want to lineup your shots. So, if your chord is F7 and the next chord is Bb7, then...
Beat 1. Hit the root on one- That's F for this measure and Bb for the next.
Beat 4. Play a note that leads to the next chord's root-
a. A half step above or below the next root- B (above) or A (below)
b. A scale tone above or below the next root- C (above) or A (below)
c. The fifth of the next root- F if going to Bb for example
Beat 3. Generally the fifth, but allow the line to flow
Beat 2. Just about any note that allows the line to flow- doesn't have to be a chord tone, or even a tone from the scale.
There's a LOT more to walking than that, but this is a simple way to get started. For more in-depth work, get a copy of Ed Freidland's "Building Walking Bass Lines".
John
John