A wooden plank is cut into three pieces. The ratio of the length of the pieces of wood is 6:10:12. If the length of the original wooden plank is 812 centimetres, what is the length of the longer piece of wood?