you would use NAND gates which are made from an AND and a NOT. And NOT gates.
Line one to NOT one. Line two to NOT two. And both those outputs to the NAND.
Or just watch Sebastian's video ;)
thanks!