This isn't a trivial problem for a new programmer. I think the best approach is to try to get your program to reflect what you would do if you had to describe, in your native language, how to do it.
The first thing is that you have three lines. So let's call them "line 0", "line 1", and "line 2". (Most programmers tend to like starting at 0 instead of 1. But you could start at 1 if you wanted, by making some adjustments.) So you will have a loop like this:
for (int line = 0; line < 3; line++) {
// something
}
This will do the loop for line=0, line=1, line=2. It won't do it for line=3, because 3<3 is false.
Now, for each line, you will print a certain number of numbers (or columns): 1 for line 0, 2 for line 1, etc., which means the number of numbers you will display is the line number plus one. So you'll have a loop that looks like
for (int column = 0; column < line + 1; column++) {
// something
}
and after you print all the numbers in the line, you will need to tell the program to go to the next line.
for (int line = 0; line < 3; line++) {
for (int column = 0; column < line + 1; column++) {
// something
}
System.out.println(); // go to the next line
}
So now all you have to do is print the numbers. Note that the first number is 5, and it keeps decreasing every time you print one. So start by setting a counter to 5. You don't want it to reset to 5 for every line or every column, so this belongs outside the loop. Then, for each column, print the counter and decrease it by 1.
int counter = 5;
for (int line = 0; line < 3; line++) {
for (int column = 0; column < line + 1; column++) {
System.out.print(counter); // print the current counter
System.out.print(" "); // print a space between each number
counter--; // decrease the counter by 1
}
System.out.println(); // go to the next line
}
This should do what you want, and most importantly, it also reflects how you would think about accomplishing this yourself, so it should be easy to understand. That's an important quality of good programs, almost as important as that it works correctly.
EDIT: My main purpose was to demonstrate how one can look at a problem, think about how to solve it manually, and express those thoughts in a program. If you start at an arbitrary number (instead of 5), and the intent is to display numbers down to 0, you won't know beforehand how many lines will be displayed (you would need to use the quadratic formula to compute that). So some adjustments would have to be made: instead of displaying a set number of lines, the outer loop would keep going until the counter reaches 0. And you'd have to figure out what to do if the counter reaches 0 in the middle of a line. But the basic technique is pretty much the same.