The prosecution is describing how the first victim was still living with her parents when the abuse began, and that over time when would only return home for ten days in a month.
She started to self harm, which she said was "to take away the hurt". Her mother noticed she was emaciated and using drugs.
The court heard how she told her parents she wanted to be locked up and was moved to various children's homes, from where she frequently absconded to meet her alleged abusers.
Shortly after her 15th birthday in 2006 she decided the abuse had to stop. She threw her telephone away, stopped taking drugs and started to attend school again.
Although the men tried to contact her, she was able to resist.
The trial has ended for the day and will resume at 10:15am on Thursday.
More top news
Convicted murderer is serving three life sentences in Edinburgh.
Oil giant BP is to pay up to $18.7 billion to settle claims resulting from from its Deepwater Horizon disaster in the Gulf of Mexico.
Actor Jim Carrey sparked outrage when he used a photo of an autistic boy to promote his claims vaccines contain harmful neurotoxins.