Having $c\gt0$
$a, c \in \Bbb{R}$
$$(a+b)^2\le(1+c)a^2+(1+\frac{1}{c})b^2$$
I don't know how to solve this inequality, I tried with the AM-GM inequality and I reached this point so far.
$$(a+b)^2\le a^2(c+\frac{1}{c})+b^2(c+\frac{1}{c})$$
I don't know how to continue, and I don't even know if this is the right path.
If you have any hints, those would be much appreciated. Thanks
We have that
$$(a+b)^2\le(1+c)a^2+\left(1+\frac{1}{c}\right)b^2 $$
$$a^2+b^2+2ab\le a^2+b^2+ca^2+\frac1cb^2$$
$$2ab\le ca^2+\frac1cb^2 \iff \frac{ca^2+\frac1cb^2}2 \ge ab$$
which is true by AM-GM.