The gunman who shot and killed a mother and her teenage daughter in Perth’s affluent western suburbs did so because he thought his ex-partner was at the property.