Two triangles are similar. The sides of one triangle are 4,8, and 10. If the shortest side of the triangle is 12, find the length of the missing sides