Problem Statement
If x is directly proportional to y and x=18 when y=12, what is x when y=20?
Explanation
x over y is constant. Eighteen over twelve simplifies to three halves. For y equal twenty, x equals three halves times twenty equals thirty.
Code Solution
SolutionRead Only
x/y = 18/12 = 3/2 ⇒ x = (3/2)×20 = 30
