I need help with my homework and will be very happy if you can help me

Given:
There are given the scalene triangle.
where,
The perimeter of is 14.5 cm.
Explanation:
To find the equation, we need to use the formula of perimeter:
So,
From the formula of perimeter:
[tex]P=a+b+c[/tex]Now,
According to the question:
It has been said that the longest side is twice that of the shortest side.
So,
Let's assume that a is the longest side and b is the shortest side.
So,
The equation for the shortest side is:
[tex]\begin{gathered} 6.2=2c \\ c=3.1 \end{gathered}[/tex]Then,
Put the value of perimeter, a and c into the given perimeter formula:
So,
[tex]\begin{gathered} P=a+b+c \\ 14.5=6.2+3.1+b \\ 9.3+b=14.5 \end{gathered}[/tex]Final answer:
Hence, the correct option is B.