I need a step by step explanation as well as work

Answer:
x = 2
m = 15/4
a = 5/4
Step-by-step explanation:
When the "base" lines are parallel, all of the triangles are similar. That means corresponding segments are proportional, including corresponding parts of segments.
We see that x corresponds to a partial segment marked 3. That same top-bottom correspondence has another pair of segments marked 2 and 3. That means x=2.
x/3 = 2/3 ⇒ x = 2
__
The segments marked 'm' and 'a' are "whole side" segments, so we need to put those in proportions with corresponding whole sides. If we use the bottom side, we find ...
a/3 = 5/(3+6+3) = 5/12 ⇒ a = 5/4 = 1 1/4 . . . . . multiply by 3
and
m/(6+3) = 5/12 ⇒ m = 15/4 = 3 3/4 . . . . . multiply by 9
__
x = 2
m = 15/4
a = 5/4