Loop cut/subdivide triangle
Two possibilities (at least).


W then subdivide, once the edges are selected: you have to be in edge select mode to do that.





Knife tool (activated by K) then hold the Ctrl key to cut at the middle of the wanted parts (you have to click at each cut you want to position and to validate with Enter at the end)




This last way is certainly more easy. For instance :