An algebra problem from 1798

The Lady’s Diary was a popular magazine published in England from 1704 to 1841. It contained mathematical puzzles such as the following, published in 1798.

What two numbers are those whose product, difference of their squares, and the ratio or quotient of their cubes, are all equal to each other?

From Benjamin Wardhaugh’s new book A Wealth of Numbers: An Anthology of 500 Years of Popular Mathematics Writing.

See also my brief review of How to Read Historical Mathematics by the same author.