The pattern to memorize for the Minor Scale at the box position:

We had A minor; A, B, C, D, E, F, G:

at the 5th fret:

Here is E minor; E, F#, G, A, B, C, D:

at the box position, the 12th fret:

And B minor; B, C#, D, E, F#, G, A:

at the box position, the 7th fret:

Try to play the minor scale for all the roots using the table:
|
Root
|
A
|
A#
Bb
|
B
|
C
|
C#
Db
|
D
|
D#
Eb
|
E
|
F
|
F#
Gb
|
G
|
G#
Ab
|
|
n = fret
|
5
17
|
6
18
|
7
19
|
8
20
|
9
|
10
|
11
|
0
12
|
1
13
|
2
14
|
3
15
|
4
16
|
|