First of all, sorry for my extremely low knowledge about mathematics. All i am able to do is this image which describe the problem.
Image of triangle + information
I want to know that how can i calculate the X distance each time while Z object is moving continuously from top to bottom.
Note: This is not an assignment.