If a man marry a lady and from her a boy born and she died. The same man marry again and from her a girl born. Can both of them marry each other

No they are brother and sister because their father is one and therefore it is haraam