Answer:
Hello this question is impossible ask your teacher or find if you didnt make any mistake copying this HW.
Explanation:
You have 3x/5 red balls but next sentence is talking about that Yellow balls have to be in ratio 5:3 but it is impossible because Red balls + Yellow balls would make 6x/5 of balls which is not possible