Complex sentence: Hashmi surname is used by Syed family of Pakistan, India and Iran and both Shia and Sunni writes this surname.
Split into simpler sentences: Hashmi surname is used by Syed family of Pakistan, India and Iran. And both Shia and Sunni writes this surname.