I don’t have an A8, but I built a couple of Prusa i3 clones from scratch, and they could suffer from the same issue. Right now, the X and Y axes are not at a 90 degree angle to one another. I would look for a way to adjust the vertical frame on your machine so that the X and Y axes were perpendicular to each other. Probably by loosening, sliding, then tightening the screws that hold the vertical to the horizontal frame. Assuming the photo you provided is in the same orientation as the printer, I would try to move the right side toward the rear a little bit.
Marlin also supports a “skew correction” feature that allows you to take some measurements and build an adjustment into the firmware so that it can offset the direction in which your machine is off. You put the proper adjustments into the firmware and recompile, and from then on things should come out square.
As I said, my preference would be to correct the mechanical issue. If there’s no way to do that, or once you get that as close as you can and there’s still an unacceptable amount of error, then the firmware fix is the next best thing.