Teaser 2949: Mystery numbers

From The Sunday Times, 31st March 2019 [link]

I wrote down a 2-digit number and a 5-digit number and then carried out a long division.

I then erased all of the digits in the calculation, other than one of them, which I have indicated by X.

This gave me the image above.

What were my two original numbers?