The problem is solved using the provided ratio information. The numbers are defined as follows:
\[3x=5 \cdot 3y\]
\[3x=15y\]
\[x=5y\]
\[2x=2 \cdot 5y=10y\]
\[10y=6\]
\[y=\frac{6}{10}=0.6\]
Substitute the value of \(y\) back to find \(x\):
\[x=5 \cdot 0.6=3\]