A Möbius transformation is uniquely definied by three points and their images. Even with the choices you made this only amounts to two.
Once you have decided on that, you can follow e.g. this post of mine to compute the transformation, one dimension lower than in that post.
Or you simply set up a linear system of equations. That system of equations will be underdetermined because you can scale all of $a,b,c,d$ by a constant factor without changing the Möbius transformation they express. So pick a value for one of these (as long as it is nonzero) and all the others will follow.
If you go with the bare wording of the original task, i.e. the requirement of sending a given circle to a given line, then this does leave you with three real degrees of freedom. You could pick any three distinct points on the circle (e.g. $-1,1,i$) and map them to any three distinct points on the line in order to satisfy the requirement. You chose two, and that is fine if any solution will suffice. If you need to consider the space of all solutions, you should be more careful.