a)\(\dfrac{x}{3}=\dfrac{y}{7}=\dfrac{x+y}{3+7}=\dfrac{20}{10}=2\)
\(\dfrac{x}{3}=2\Rightarrow x=6\)
\(\dfrac{y}{7}=2\Rightarrow y=14\)
b)\(\dfrac{x}{5}=\dfrac{y}{2}=\dfrac{x-y}{5-2}=\dfrac{6}{3}=2\)
\(\dfrac{x}{5}=2\Rightarrow x=10\)
\(\dfrac{y}{2}=2\Rightarrow y=4\)