we know that
Directly proportional is a relationship between two variables that can be expressed by an equation in which one variable is equal to a constant times the other
so
\(y=kx\)
in this problem
for
\(x=8\)
\(y=14 \\ 14=8k\)
divide by 8 both sides
\(k=14/8 \\ k=7/4\)
find the value of y for \(x=12\)
\(y=(7/4)12 \\ y=21\)
the answer is
\(y=21\)