This is a simple exercise on finding the space to make an eye. After , a and b are miai, and c and d are also miai, so Black lives.
Anonymous: a and b are miai. I think this solution is preferable, because there is one less killing threat for white. (See below)
xela: Surely by this logic, at a is even better?
Anonymous: Here is only worth 6 points, since it doesn't threaten to kill the group, but merely to capture the three marked stones.