This probably is a stupid question hey we all got to start programming somewhere.

I got to use for loops to generate two patterns as follows.
*****
****
***
**
*

and

*
***
*****
*******
*****
***
*

Any Ideas.