What you need to do is very easy. If K=2 and m=5 all you need to do is put them in place. So the 2 would go in front of the 5 and the 5 would go right after the multiplication symbol.
25*5 but better way is to have parentheses so it wont look like 25.
2(5)*5= 50