For any triangle,
So, if the third side is x, then
|6-3| < x < 6+3
|3| < x < 9
3 < x < 9
The smallest possible whole number that fits that inequality is 4.
[You weren't asked, but the greatest possible whole number that fits that inequality is 8.]
Edwin