It's a very challenging and hard questions, took me 10 mins to finish this, but, let me try to explain this in a very simple manner.
so, what we have here in the problem so far is:
1. Total = 500
2. Two Doors Car (Later will be labeled as 2D) = 165 -> Hence Four Doors Car (4D) = 335
3. 4D with Camera = 120 -> Hence 215 without camera
4. 18% of Car with Camera has Standard Transmission (ST)
5. 40% of Car with Both Camera and ST is 2D -> Hence 60% of Car with Camera & ST is 4D
If i wrote a matrix for this problem it's going to be like this
2D 4D Total
Camera X 120 X+120
No Camera Y 215 Y+215
Total. 165 335 500
Back to the Question, how much is the 60% of Car with Camera & Standard Transmission (ST) is 4D. If we see the Statement 4 & 5, we can basically translate it into
- Statement 4: 18% * (x+120)
- Statement 5: 40% * 18% * (X+120) = 2D with Camera & ST, Hence 60% * 18% * (X+120) = 4D with Camera & ST
So our equation to answer our question is: 108 / 1000 * (X+120)
What's critical here is that, we need to know how much is X (Which is, really hard to know). What we know about X is only one equation which is X + Y = 165 (back to the matrix above)
Here's the tricky part, as we all know that, in this problem, the solution must be Interger, which means, we can freely plug X in order to make our question an interger number.
Which in short range of X is -> X <= 165
Good thing is, we do not have plenty of options to make 108/1000 (x+120) becomes int, let's try the obvious one where x = 130
- 108/1000 * (120+130) = 108/1000 * 250 = 108/4 = 27
here u go, our answer is 27
I believe this question is quite out of scope, but solving this can train your mind to spot on exactly what time you need to find the exact solution by derivating the formula or you need to plug the numbers with certain limitations (e.g. Solutions must be Int, range of possible solutions, etc)