i want to learn how to cut shapes or convert them to layers
for example, im creating a rectangle, then i want to divide into two pieces like the screen shot below, i want to create the two red triangle shape from the rectangle:
Is it possible to divide shape into two or three parts? Because sometimes i create outer borders for window and then i need to expand shape vertically, so i want to divide shape into 3 parts and stretch only one part.
Here's example, i want to divide this shape into two: