Two women are handed prison terms