All people that obey the law (X)will stay out of trouble with the police(Y).-premise
All people who have a law-trouble-free life(Y) must obey the law(X).-conclusion
This is a false conversion fallacy. There are other reasons that are able to lead to the law-trouble-free life. The conversed not only violates a well-established rule of deductive logic, it is also a very different empirical claim whose truth must be independently supported by the evidence.For example, people who stay out of trouble with the police may be those who break the law without being noticed or caught by the police.