Where is bidjigal country

Draw filled rectangle java

Using java graphics application a - draw a filled rectangle, you can select your own coordinates and color. After that translate and scale it into half in x direction, again translate and scale it into half in y direction. b - draw a filled triangle, you can select your own coordinates and color. After that translate and rotate it by an angle 60.