You have a bin of weighted balls. It consists of red balls and black balls. The red balls weigh kilograms each, and the black balls weigh kilograms each. The probability of selecting a black ball uniformly at random is . What is the minimum total weight of the balls in the bin? Solve when and