As per the question, the following are few requirements-
1. Natasha and Jessica can't stand next to each other.
2. Rachel and Anna want to stand together.
3. Ria and Rachel can't stand next to each other.
4. Anna wants to stand at the extreme right.
5. Natasha wants to stand at the extreme left.
As per point 5- Natasha, _ , _ , _ , _
As per point 4- Natasha, _ , _ , _ , Anna
As per point 2- Natasha, _ , _ , Rachel , Anna
As per point 1- Natasha, _ , Jessica , Rachel , Anna
Now, the only remaining position left for Ria is 2nd position from left- Natasha, Ria , Jessica , Rachel , Anna
Natasha, Ria, Jessica, Rachel, Anna
Ans- D- Ria