In my humble opinion... In the case of Imrana, the Father-in-Law must be tried and punished for RAPE.
In the case of Gudia, she should have got the divorce before getting married again. Given the fact that it did not happen, she should have a divorse later.