You can put this solution on YOUR website! There is not enough information in the problem description to find a single value for x. Is this a specific type of triangle? Is there a diagram with the original problem that puts some constraints on the triangle?
Given any sufficiently small x, I can always construct a triangle with a perimeter of 15, even if x = 0.001