Self draw: To win by taking a tile from the wall.
Two ways to make winning hand

Basic formula for winning is:

m*AAA+n*ABC+DD

DD=Pair

ABC=Sequence

AAA=Triplet

m+n=4