Help me in solving PSPP79A problem

My issue

Update the function given in the IDE to output the following to the IDE by printing from inside the function.

š“
2
+
2
āˆ—
š“
āˆ—
šµ
+
šµ
2
A
2
+2āˆ—Aāˆ—B+B
2
( * means multiplication)
š“
+
šµ
A+B
Check sample output below.

My code

def compute_value(a, b):
    # update your code below this line
   
    
    
    

t = 3
for _ in range(t):
    A, B = map(int, input().split())
    compute_value(A, B)

Learning course: Python Programming
Problem Link: Return values in Python Programming