Solution: Treat the two matrix equations exactly as a pair of simultaneous equations.
Add them. The Y terms cancel:
(X+Y)+(X−Y)=2X=[5029]+[306−1]=[8088]
⟹X=21[8088]=[4044]
Subtract them. Now the X terms cancel:
(X+Y)−(X−Y)=2Y=[5−30−02−69+1]=[20−410]
⟹Y=[10−25]
Check. X+Y=[5029] and X−Y=[306−1], as required. ✓