An isosceles triangle has a measure of 'p' units for its equal sides and 'q' units for its unequal side. What is its perimeter?
The perimeter of an isosceles triangle is 12 cm and its unequal side is 5 cm. Find other sides of the triangle.