For the A part, use your first finger on the second fret, third finger on the fourth fret, and pinky on the fifth fret. While this may present a new challenge for you, it is a great opportunity to strengthen your pinky and improve your coordination. Take it as slow as you need to. Having all the melody notes on one string also allows us to achieve higher speeds and clarity with alternate picking by eliminating string crossings.