You may have found the correct value of k, but then chose the two measurements whose sum is 60. However, the numbers need to satisfy , an inverse variation equation. For the first triangle, , so . Substitute 40 and 20.

does not yield , so this is not an inverse relationship.