Answer:
26 and 36.
Explanation:
Let the two whole numbers be a and b. Thus, the product of them is 936 while their sum is 62. In equations, this is:

This is a system of equations. To solve, subtract either a or b from the second equation and substitute it into the first.
For instance, subtract b from both sides in the second equation:

Substitute this into the first equation:

Distribute:

Rearrange:

Divide everything by -1 to make the leading coefficient positive:

Add 936 to both sides:

This is now a quadratic. Solve for b.
To do so, we can factor.
After a bit of testing, we can see that -36 and -26 are possible. Thus:

For for b:

Thus, b is 26 or 36.
Now, plug these back into the isolated equation to solve for a:

It doesn't really matter which one we choose since they're the same.
Thus, the answer is 26 and 36.