The possible outcomes are; every number from 1 to 5, times every number from 1 to 10. Than makes 5 x 10 different outomes.
Then you need to take in account how many of them are smaller thatn 30. The easiest way is to count how many are greater or equal than 30. If you do that you will find 9 results greater or equal than 30: 10x5, 1x4, 10x3, 9x5, 9x4, 8x5, 8x4, 7x5, 6x5.
Then, there are 41 products that are less than 30 and the probability is 41/50= 0.82