35. Compute ((A+B)*(-A/2))

Medium

Given float arrays A and B, compute and return ((A + B) * (-A / 2)).

Implement solve(...)