There was an error with your calculation.

RESULT

a = 3
area A = 6