Answer:
The function is as follows:
def twoQuadratics(a1, b1, c1, x1, a2, b2, c2, x2):
result = a1*x1**2+b1*x1+c1+a2*x2**2+b2*x2+c2
return result
Explanation:
This defines the function
def twoQuadratics(a1, b1, c1, x1, a2, b2, c2, x2):
This calculates the required sum
result = a1*x1**2+b1*x1+c1+a2*x2**2+b2*x2+c2
This returns the calculated sum
return result