please solve this for me asap

[tex] \: \: \: \: \: \: \: \underline {\boxed{ \sf{ \huge{\pink \star }P = a + b + c }}}[/tex]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[tex] \longrightarrow\sf{P = a + b + c }[/tex]
[tex]\longrightarrow\sf{P = 5 + 12 + 7}[/tex]
[tex]\longrightarrow\sf{P = 24}[/tex]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Therefore , the perimeter of triangle is 24 cm