On IB, EQD is earned at 5% of miles flown and EQM at 50% of miles flown for a Q fare. So it is more like (4930+3720)*0.05 = 433 EQD and (4930+3720)/2 = 4325 EQM. Plus about 2140 EQM for the AA flights gives a total around 6465 EQM.
You'd also get EQD for the AA flights according to the ticket price. Unless it is hidden in the formatting, I don't see any pricing information, so it is not possible to determine EQD for that. Could also be a special fare, but they are getting pretty rare.