Let's deal with the restrictions first.
To get one ace, we have 4 total aces, and we want to choose one ace:

We can repeat this for the king, as well.

Now, let's deal with the remaining five cards.
Since we can't deal a king or an ace anymore, let's subtract 8 from a pack of 52. This ensures that we don't pick a king or an ace anymore.
Now, we simply need to pick five cards from a pack of 44 cards:

Thus, the total number of ways to pick exactly one ace and one king is:

The calculator should do the rest.