Here is what I am trying to create:

```
    *
    **
    ***
    **** 
*********
    ****
    ***
    **
    *

```

Here is what i have created:

```
*
**
***
**** 
**********
****
***
**
*

```

Here is my code:

```
for(int i = 1; i <= 5; i++){
    for(int j = 1; j<=i; j++){
        System.out.print("*");
    }
    System.out.println();
    if(i == 4){
        for(int f = 0; f < 5; f++){
            System.out.print("*");
        }
    }
}

for(int i = 1; i <= 5; i++){
    for(int j = 4; j>=i; j--){
        System.out.print("*");
    }
    System.out.println();
}

```

I dont know how to indent the tail part, please dont give me the answer, just tell me where the problem is and I will try to do it. Thank you!