Question 923879
A pair of socks = x
A tie = y

2x + y = 36........(1)
3x + 4y = 114......(2)

Multiply (1) by 4 it becomes (3)

8x + 4y = 144.......(3)
3x + 4y = 114.......(2)

Subtract (2) from (3)
5x      = 30
x       = 6

Substitute x = 6 into (1)
2x + y = 36
12 + y = 36
y = 24
A pair of socks cost 6 euros
A tie costs 24 euros.
Hope this helps.
:-)