Exploring an LM to generate Prolog Predicates from Mathematics Questions