Are you in the A minor pentatonic? Going from A to D puts you right in the middle of this scale.
I would use my ears, but probably just sliding up from the 10th to the 5th fret on the B string would allow me to slide from the 5th to the 7th on the G string. And I would be in the scale the whole time.
This year the diet is definitely gonna stick!