# Nakafa Framework: LLM
URL: https://nakafa.com/en/exercises/high-school/snbt/quantitative-knowledge/try-out/set-8/5
Exercises: Try Out - Set 8: Real exam simulation to sharpen your skills and build confidence. - Problem 5
---
## Exercise 5
### Question
export const metadata = {
title: "Problem 5",
authors: [{ name: "Nabil Akbarazzima Fatih" }],
date: "12/25/2025",
};
There are two boxes, both containing black and white balls. The number of balls in each box is . One ball is taken from each box, and the probability that both balls are black is . If the probability that both balls are white is , then
### Choices
- [ ] $$3$$
- [x] $$6$$
- [ ] $$7$$
- [ ] $$12$$
- [ ] $$14$$
### Answer & Explanation
export const metadata = {
title: "Solution for Problem 5",
authors: [{ name: "Nabil Akbarazzima Fatih" }],
date: "12/25/2025",
};
Let:
- Probability of black in box 1
- Probability of black in box 2
- Probability of white in box 1
- Probability of white in box 2
Given the probability of getting black balls from both boxes is . Since taking balls from box 1 and box 2 are independent events:
We need to find a pair of factors of where both are less than or equal to (maximum number of balls). The possible pair is and (or vice versa). Let and .
Then the number of white balls is:
- Box 1: white balls
- Box 2: white balls
The probability that both balls are white is:
Given . So and . The value of .
---