The diagram below shows an isosceles triangle and a square.

2x cm - measurement of triangle
2x cm - ditto
3y cm - ditto

Perimeter of triangle = 19 cm
Diagram not drawn to scale

12 cm - measurement of square
(6x - y) cm - ditto

Use an algebraic method (not trial and improvement) to find the value of x and the value of y

You must show all your working.