The point (4,1) is subject to an enlargement with scale factor k and centre (0,0), followed by a stretch parallel to the x-axis with scale factor k, and then a stretch parallel to the y-axis with scale factor m. The resulting image is the point (36,12).
Given that k,m>0, find the values of k and m.