find the are of the base and then surat that from the total area, then divide that answer by four to get the area of one of the triangles. Next multiply by two then divide by 7 to get the other base length. finally use pathagorean theorem to find x. I am sorry if this is confusing, if you need I can work it out on paper.