while executing ur pull of let the bass(the G#) note ring. This is how i wud play it- index finger on 2, middle finger on g# and ring on the B note. Then pick the two notes simultaneously and pull off, but let the G# note ring.
it depends..if thats a finger picked song..then dennis is right..else(if using a pick) u might have to 'mute' the strings..using yr middle finger to mute the A n D strings.. -vivek