Well, you just have to multiply 17 with itself twice, that is, 17^3 = 17 * 17 * 17... then you can use whatever method you want to do it "easily"/quickly. For instance if I did not have access to a calculator what I would do is start with one multiplication like this:
17 * 17 = (20 - 3) * (20 - 3) = 20 * 20 - 20 * 3 - 20 * 3 + 3 * 3 = 400 - 60 - 60 + 9 = 289
Then do the second multiplication as:
17 * 17 * 17 = 289 * 17 = (300 - 11) * (20 - 3) = 300 * 20 - 300 * 3 - 11 * 20 + 11 * 3 = 6000 - 900 - 220 + 33 = 4913
And that's it. Same goes for 13 or 31 ( the trick here is working out what you should round each number to make sure you're actually making the problem simpler and not harder, multiples of 10 or 100 are usually a good bet). If you have a calculator you can just punch it in though. But really it's just multiplication.