For fixed integers n(= 0) and μ, the number of ways in which a moving particle taking a horizontal step with probability p and a vertical step with probability q, touches the line Y = n+μX for the first time, have been counted. The concept has been applied to obtain various probability distributions in independent and Markov dependent trials.