If you let the dimensions of the original square be x by x, the new rectangle will have dimensions (x + 5) by (x - 3).

Setting that product = 48 ( the new area), FOILing, and subtracting 48 from both sides will give you a factorable quadratic = 0 with only one positive (whole number) solution. That is the original square’s side length