To count the number of four-digit numbers using exactly two digits, and allowing the first digit to be zero, you have C(10,2) = 45 ways to choose the two digits, A and B. Then there are 2^4 ways to choose one of those two digits for each of the 4 places. But that includes the numbers AAAA and BBBB, which use only one digit, not two. So you have to subtract those; rather than 16 ways to use the two digits, there are 2^4-2 = 14. So multiply 45 by 1, not 16.
This is not that hard to figure out! You just have to be willing to think about the implications of every step you take.