Set it up as a proportion make sure the same sides of each triangle match cross multiply then solve it like a regular equation hope the image helps like I said after u set it up and cross multiply it's a regular equation and all u need to do is solve for X