Easiest way is to use another shape to “cut” that shape out
Example woudl be, draw a rectangle, Rotate it
Align it
Then use rectangle as a cut shape
Click it - hold shift and click big square
Result will be a line somehting like this
(Note select order matters)