Please help me solve this equation, for time t (exponent). I know you have to use natural log (ln) but I am unable to use the rules correctly.

p = x + (y-x)(1-m)^t

If it helps, y=.42 x=.12 m=.07 and p should be .12, but i would like to see the equation solved for time, t, with the variables given above.