See inside and copy.
Used trigonometry to to calculate out the height and with of a triangel between the middle, the mouse pointer and a point below the mouse pointer and have the same height as the middle.