If your inbound is on time you will make it. If not, who knows? Personally I would not schedule a connection that close. Looking at today's LAX to DTW flights, at least one departs from terminal 6 so your departing flight won't necessarily be close to where you arrive.