You'll need to find a few things:
First, find the focal length of the biological lens in the viewer's eye when he/she is working at his/her limit of vision.
Then find the required focal length the viewer should have to view the closer object.
Then consider: how do these two differ?
The contact lens is placed right up next to the lens in the viewers eye, so you can consider the net focal length required to be the sum of the contact lens and the viewer's lens in his/her eye. It's much easier than the case of case of eyeglasses... which have a separation between the two lenses (the eyeglass lens and the eye lens itself).
There's another way to approach the problem also.
First, where would the viewers eye place the image of the object that is too close?
Second, make THAT image the object for a second lens (at the position of the eye)... and you know where you WANT to place the second image of this... right at the back of the eye.
Drawing out scaled ray-tracing for this technique might help.
This second approach is, in fact, the only way to approach the eyeglasses problem, in which case you should then know where the glasses will sit in relation to the person's eye.
Both ways should work out to the same result. DO as Kurdt says, watch your units (and be consistent in them!). It's also easy to goof up all the math, since you are working with reciprocals of the distances and focal lengths.