I'm a totally self-taught guitarist. I've never had a lesson; everything I'd learned was from books and trial and error.
In retrospect, that's a lousy way to try and learn to play rock and roll music. Rock, like folk or country music or the blues, is primarily a social-networking kind of thing, the Facebook of its age.
Nor did I avail myself often of the greatest teaching aid of all -- my record collection. The most famous musicians of the day were there for the asking, but I seldom called on them. The problem that arose when I tried to play along to records was that they all seemed to be playing in unconventional (and difficult, for a novice guitarist) keys, like A♭ or C♯.
So I would rationalize this away by saying that I wasn't interested in learning other peoples' songs anyway -- I was too focused on playing my own. True enough; but shutting out outside influences means you are essentially reinventing the wheel each time.
By now I was jamming on a somewhat regular basis with my cousin, who pointed out that my main problem was that my guitar was rarely in tune. I could never find the pitch pipe that I tuned to, so I'd estimate the low-E string and tune the rest of the strings to match. That worked great when you did, in fact, have the correct note; not so good when you were a half-tone (or worse still, a quarter-tone or other fraction) off.
Once I learned to use a reliable tone -- an electronic keyboard, which never slips out of tune -- whole new worlds opened up. Suddenly I could play along with these people, albeit clumsily, most of the time.
"Teacher, Teacher" was from Rockpile, the '80's band put together by the great Nick "Cruel To Be Kind" (YouTube link) Lowe and Dave Edmunds. I mainly just played chords on this; there's really no solos as such, just arpeggios and inversions of the major chords.