The formula for calculating length of a side of triangle is:

And as perimeter is just the sum of length of all side, we will calculate the length of each side and then sum them up.
1. Side AB:

d₁= √34
2.Side AC

d₂=2√10
3.Side BC

d₃=√58
Perimeter

P=19.77