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