The lengths of all sides of a triangle are integers when measured in decimeters. One of the sides has length of 1 dm and another of 3 dm. Find the perimeter of the triangle.'