Applying C-S inequality we have :
1. \(y=\left(2x+5\right)\left(5-x\right)=\dfrac{\left(2x+5\right)\left(10-2x\right)}{2}\le\dfrac{15^2}{8}=\dfrac{225}{8}\)
" = " \(\Leftrightarrow x=\dfrac{5}{4}\)
2. \(y=\left(6x+3\right)\left(5-2x\right)=3\left(2x+1\right)\left(5-2x\right)\le3.\dfrac{6^2}{4}=27\)
"=" \(\Leftrightarrow x=1\)