One could argue that Cid's Javelin is better than his Scimitar. Javelin is 5x2 (10) whereas Scimitar is 2x3 (6). 10 > 6, so the Javelin gains more AP overall. However, if you just need to focus on two materia, then the Scimitar would be better.