It is not a simple substitution using the polybius square with pairs of letters from ADFGVX mapping to 25 letters of the alphabet.
The first step is to take each letter and turn it into a pair of letters from ADFGVX but the second step is then a keyed columnar transposition.