In writing, an analogy occurs when writers use the characteristics of an object, idea, situation and apply this to another to explain the second idea or make a point by creating a comparison. This differs from simile because in this, the comparison is simple and it is established by words such as "like" or "as".
In the excerpt presented the connection used is an analogy because through the use of "This is similar to what happens in a community. One person has to give up a right for the good of the group" and other details in the text, the author applies the process of taking decisions in a family to the decision in a community, which means there is a comparison and this is used to explain the complexity of communities.
We, the audience, know that Lucy is only talking with Tom because she needs his car. Due to the fact that Tom is ignorant to this fact, the irony we see here is dramatic irony
3x+1/5=2x-6 and subtract 2x on both sides and 2x will cancel out and whatever you get on the left side you add it to -6 and whatever that is you divide it by 3 on both sides and you will find x