graph c+d=a^2