@imogen1234,
Feel sorry for whoever you want to feel sorry for.
Also recognize that there are unjust laws, or laws which we may feel are unjust in two or twelve or two hundred years. And there are punishments which may seem overly harsh, at least on the surface. But you don't know anything about these women or why they're in the slammer.
I don't know how it is where you are (your use of the word ''garden" instead of "yard" tells me you're probably not from the US), but here in the US, poor and minority women and men are more likely to be incarcerated than people with money, or white people even if they don't have much (although destitute white people are also more likely to end up in prison).
Some of this is due to only being able to afford lower quality lawyers and/or public defenders. Some is due to prejudice by jurors and/or judges, even unintentional. Defendants who are less articulate tend to do worse in the justice system. The same is true of poorly dressed defendants.
And the advantages that youth and beauty give to people also extend to folks going through the justice system.
Is it unfair? Of course it is.
What can be done about it? Vote for people who vow to do something about it. And go to jury duty instead of trying to get out of it, because if people who care keep sitting on the sidelines, it's no different than if those people didn't care about such things.
Here in the US, there are also prisons for profit, so it's in county and state best interests to convict, and to pass laws requiring longer sentences.
So, one of the first laws you (or any other caring individual) might want to be changed here is getting rid of private prisons. Good luck with that one, seeing as the Trump administration is pulling all sorts of federal funding from the states. If states need prison $$ to make ends meet, then they'll take it, and there won't be an incentive to change the system.