or just:
Input A --> Not \
And --> Not --> Output
Input B --> Not /
that works too, but you want a nand gate if you want to make more advanced projects and dont want to have to do and --> not every time