Kindly refer to the following link(s):
Hijab in front of brother in law in a Joint Family System | By Assim Al Hakeem
Can a woman be around her brother-in-law if her husband & the brother inlaw's wife are there?
Non-Mahrams free mixing with made-up relationships! | Assim Al Hakeem
Mixing between cousins of opposite genders & Islam promoting segregation
Why does Islam promote segregation among opposite genders?