Anyway for the hammer-on you can use the 5h7 on ,
any string on you guitar.
Use your index=1st finger on the 5 note=fifth fret,
strike it with your pick then use your third finger,
to hammer-on the 7 note with-out useing your pick.
execute the hammer-on while the note is still ringing.
Now for the pull-off do the same thing but use,
your third finger right after the hammer-on to,
pull down on the string then off of the string.(very fast)
Mark
P:S If you need more help let me know?
yours truly Mark Toman