I'm reading your question as looking for generating a triangle using the length L, the rightmost L/2, and drawing a line from the point where the leftmost L/2 and L meet, up to where the rightmost L/2 meets the wall. That being the case:
We can calculate the upper angle between length L and the rightmost L/2 as follows:
We know this angle is 360° - (the lower angle between L and right L/2). The lower angle is
This is because we can generate two right triangles and a right angle by drawing a line straight down and straight right from the right pivot point. Therefore the upper angle is
Given that, the remaining side can be found using the law of cosines, and the remaining angles can be found using the law of sines.