When the pulley goes down 1 cm, that makes the string above it 1 cm longer on both sides, which requires 2 cm of string, so the block on the slope moves 2cm.
Just ask yourself, does the pulley move? if it does, how many strings are attached? (because each string will have to get longer or shorter by the same distance)