Mario has shapes in a bucket. He tells you that the probability of pulling an isosceles triangle out of the bucket is . How many isosceles triangles are in his bucket?

Solve the equation to find the number of isosceles triangles.