Answer:
In isosceles triangle ABC, BM is the median to the base AC and Point D is on BM as shown below in the figure;
Median of a triangle states that a line segment joining a vertex to the midpoint of the opposing side, bisecting it
M is the median of AC
then by definition;
AM = MC ......[1]
In ΔAMD and ΔDMC
AM = MC [side] [By [1]]
[Angle]
DM =DM [Common side]
Side-Angle-Side postulate(SAS) states that if two sides and the included angle of one triangle are congruent to two sides and the included angle of another triangle, then these two triangles are congruent.
Then, by SAS,

CPCT stands for Corresponding parts of congruent triangles are congruent
By CPCT,
[Corresponding side] ......[2]
In ΔABD and ΔCBD
AB = BC [Side] [By definition of isosceles triangle]
BD= BD [common side]
AD = DC [Side] [by [2]]
Side-Side-Side(SSS) postulate states that if three sides of one triangle are congruent to three sides of another triangle, then the two triangles are congruent.
Therefore, by SSS theorem,
The complete question in the attached figure
we know that
angle y and angle (5y-18) are supplementary angles
then
y°+(5y-18)°=180°------> 6y=180+18------> y=198/6-----> y=33°
and
angle x and angle y are also supplementary angles
then
x+y=180--------> x=180-y-----> x=180-33-----> x=147°
the answer is
x=147°
y=33°