Super cute math problem from 1798

Here’s a golden opportunity to stretch your algebra muscles.

Find two different numbers such that their product, the difference of their squares, and the quotient of their cubes are all equal to each other.

Published in The Lady’s Diary, a popular digest magazine from the 1700s.

An algebra problem from 1798 — The Endeavour