Transpose the first equation and combine it with the second to eliminate BT, then solve for A.
Let M1=(21052) and M2=(1481).
Given: 2AT+B=M1 ... (i), and 2BT+A=M2 ... (ii).
Transpose (i) (using (AT)T=A): 2A+BT=M1T ... (iii), where M1T=(25102).
From (ii): BT=2M2−A. Substitute into (iii):
2A+2M2−A=M1T
Multiply through by 2: 4A+M2−A=2M1T⇒3A=2M1T−M2.
Now 2M1T=(410204), so 2M1T−M2=(4−110−420−84−1)=(36123).
Dividing by 3: A=(1241).
(Check: AT=(1421), so B=M1−2AT=(0210), and 2BT+A=(0240)+(1241)=(1481)=M2 — matches.)