This problem is a variation of this one: https://en.m.wikipedia.org/wiki/Sum_and_Product_Puzzle, sometimes called “The Impossible Puzzle”
https://explainextended.com/2016/12/31/happy-new-year-8/
I prefer this less sterile framing of it. It was the most fun that I ever had with a puzzle, so to anyone scrolling around on this page, I would recommend not jumping straight to the solution :)