Each row and column should contain the digits 1-4 and 2 shaded squares. The clues outside the grid indicate the sum of the digits between the two shaded squares in that row or column.
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
The solutions are here.