solve 1.29
solve 1.30
solve 1.31