Answer:

 

They are both correct.

Figure B could have been created by either a slide (translation) or flip (reflection) of Figure A.