Adding 42 to a given positive number gives the same result as squaring the number….