Entry state :

Acceptance state :

Grammar :
Ex : A -> B;

Words to test :
Ex : aabbaa