Complex sentence: Initially, Diwakar did not know about Thapki's stuttering and he got upset when he heard her stammer, demanded dowry.
Split into simpler sentences: Initially, Diwakar did not know about Thapki's stuttering. When he came to know about it, he got upset and demanded dowry.