Vì 126 chia hết cho x,210 chia hết cho x => \(x\inƯC\left(126,210\right)\)
Ta có : \(126=2.3^2.7\) ; \(210=2.3.5.7\)
\(\RightarrowƯCLN\left(126,210\right)=2.3.7=42\)
Mà \(Ư\left(42\right)=\left\{1;2;3;6;7;14;21;42\right\}\)
\(\Rightarrow x\in\left\{1;2;3;6;7;14;21;42\right\}\)
Vì \(15< x< 30\Rightarrow x=21\)
Vậy \(x=21\)
Ủng hộ mk nha!!!