Honestly, this is fundamental programming logic. You've already figured the hard part which is the use case. From there just write the code just like the use case reads.
public static string FormatString(string string1, string string2, string string3)
{
string results = string.Empty;
if(!string.IsNullOrEmpty(string1))
{
results += $"{string1}/";
}
if (!string.IsNullOrEmpty(string2))
{
results += $"{string2}";
}
if (!string.IsNullOrEmpty(string3))
{
results += $"({string3})";
}
return results;
}