Task: Question Answering
Input (English): Problem: if a is a positive integer , and if the units digit of a ^ 2 is 9 and the units digit of ( a + 1 ) ^ 2 is 4 , what is the units g digit of ( a + 2 ) ^ 2 ?
Output (English): 1