Need help getting started on a lab!

Hi guys here is my prompt:

In this lab you are to write a simple Java program to prompt the user for two 3-digit integers and print the

product of the two integers in the following form. There is a sample program in directory

~wang/sample20.

123

X 246

-------------------

738

492

246

-------------------

30258

So far, I have came up with using a scanner assigned to two variables to get the 2 integers. But now Im stuck on how I come up with the work in progress under it. Such as the numbers 738, 492, 246. The whole problem is supposed to come out in the output. So any help would be appreciated. Thanks