For both problems, expand the left hand side and match up the coefficients.
a. [tex](5x-2)^2=25x^2-20x+4=ax^2-bx+c[/tex]
[tex]\implies a=25,b=20,c=4[/tex]
[tex]\implies a+c^2=25+4^2=41[/tex]
b. [tex](3x+5)^2=9x^2+30x+25=ax^2+bx+c[/tex]
[tex]\implies a=9,b=30,c=25[/tex]
[tex]\implies a+b+c=9+30+25=59[/tex]