You can't figure it out because you're intellectually stuck? Or you can't figure it out because it's a lot of work?
One suggestion to reduce the work: To get the partial derivative wrt a, treat the area as a function of two variables, s = s(a) and a. Now use the multi-variable chain rule. Apply the same idea for partials wrt to b and c.