Deb is slicing up a cake for three people. The cake is 45cm long and the second piece is 10cm longer than the first, and the third piece is 5 cm less than double the first . How big is each slice?

first = x

second = x+10
third = 2x-5

sum = 45