Connecting an Echo dot is not easy. You probably have to create a custom skill in the Alexa developer console, connect it to a Lambda function which in turn calls your mirror by http. A web service has to receive the parsed response and react properly.
This is how it is done it with FHEM. It provides code for the local web service and templates for the Lamda function.